package com.gack.business.service;

import java.util.List;
import java.util.Map;

import org.apache.poi.ss.usermodel.Workbook;

import com.gack.business.model.VideoStores;
import com.gack.business.vo.EditStoreVO;
import com.gack.business.vo.NewStoreVO;
import com.gack.helper.common.abstractobj.Result;

/**
 * 
* @ClassName: StoresOptServiceInterface 
* @Description: TODO(这里用一句话描述这个类的作用) 
* @author (ZhangXinYu)  
* @date 2018年6月4日 下午3:09:12 
* @version V1.0
 */
public interface StoresServiceInterface {
	public Map<String, Object> getStores(String storeid,Integer searchType,String searchKey,Integer currentPage,Integer pageSize);
	public Map<String, Object> getAllStores(Integer currentPage,Integer pageSize);
	public Workbook exportStores();
	public List<VideoStores> getAllStores();
	public List<VideoStores> getAllNoUserStores(String userid);
	public Result getStoresInfo(String storeid);
	
	/**
	 *String storeName,Integer storeDeposit,Integer storeArea,List<String> supportFacities,List<String> storeService,
			Date startTime,Date endTime,String storeAddress,String longitude,String latitude,Integer storePrice,
			String storeUser,String storePhone,String storeLandline,String storep_hotourl,String onephotourl,
			String twophoneurl,String threephotourl,String fourphotourl,String fivephotourl,String sixphotourl
	 */
//	public Result addNewStore(NewStoreVO newStoreVO);
	public Result addNewStore(String userid,String storeName,Integer storeDeposit,Integer storeArea,
			String supportFacities,String storeService,String startTime,String endTime,String storeAddress,
			String longitude,String latitude,Integer storePrice,String storeUser,String storePhone,
			String storeLandline,String storep_hotourl,String onephotourl,String twophoneurl,String threephotourl,
			String fourphotourl,String fivephotourl,String sixphotourl,String province,String city,String area);
	
	public Result getEditStoresInfo(String storeid);
	public Result dealOneStore(String userid,String storeid);
	
//	public Result updateStoreInfo(EditStoreVO editStoreVO);
	public Result updateStoreInfo(String userid,String id,String supportFacities,String storeService,String startTime,
			String endTime,Integer storePrice,String storePhone,String storeLandline,String storep_hotourl,String onephotourl,
			String twophoneurl,String threephotourl,String fourphotourl,String fivephotourl,String sixphotourl,Integer isuse,
			String storeUser,Integer storeArea, String storeName);
	
	public Result getStoreUseInfo(String storeid,String orderid);
	public Result getStoreBookingDetail(String storeid,String orderid);
	
	public Map<String, Object> getStoreReservationList(String storeid,String beginTime,String endTime,Integer page,Integer size);
	public Map<String, Object> getStoreUseInfoList(String storeid,String beginTime,String endTime,Integer page,Integer size);
	public Map<String, Object> getStoreRevenue(Integer type,String province ,String city,String area,String beginTime,String endTime,Integer page,Integer size);
}
